MailPoet\API\MP\v1\Subscribers A

Total Complexity 70
Dependencies 24
Dependents 3
Total lines 434
Lines of code 267
Logical lines of code 159
Comment lines 74
Methods 16
Properties 13

Methods 16

Method Rating Maintainability Complexity Lines of code
subscribeToLists()
A
42 15 49
addSubscriber()
A
43 10 48
getAndValidateSegments()
A
44 10 44
buildListingDefinition()
S
57 8 15
_scheduleWelcomeNotification()
S
60 5 13
findSubscriber()
S
60 5 12
unsubscribe()
S
58 2 16
extractCustomFieldsFromFromSubscriberData()
S
63 3 10
__construct()
S
59 1 15
getSubscribers()
S
65 2 9
_sendConfirmationEmail()
S
64 2 10
checkSubscriberAndListParams()
S
70 2 6
checkSubscriberParam()
S
72 2 5
getSubscriber()
S
76 1 4
unsubscribeFromLists()
S
68 1 7
getSubscribersCount()
S
76 1 4